package com.wz.dhs.service.base;

import com.wz.dhs.bo.pay.CreatePayBaseRequest;
import com.wz.dhs.bo.pay.CreatePayBaseResponse;
import com.wz.dhs.dto.order.WxNotifyBussinDTO;
import com.wz.dhs.dto.order.WxNotifyDTO;
import com.wz.dhs.vo.pay.WxCreateOrderVO;

import java.util.function.Function;

/**
 * @Description 支付服务
 * @author xyb
 * @since 17:55 2024/8/9
 */
public interface PayService {

     /**
       * @Author xyb
       * @Description //支付服务
       * @Date 14:27 2024/8/12
       * @Param
       * @return
       **/
   <T extends CreatePayBaseRequest,R extends CreatePayBaseResponse> WxCreateOrderVO createWxOrder(CreatePayBaseRequest request, Function<T,R> function);


    WxNotifyBussinDTO wxPayNotifyDecode(WxNotifyDTO param);


}
